#include <stddef>

#include "game.h"
#include "time.h"

dice::dice() {
	value = 0;
	
}

game::game() {
	dices = new dice[2];

	players = NULL;
	rules = NULL;
	
}

game::game(rule *rs, player ps[]) {
	gameInstance = getGameInstance();
	dices = new dice[2];
	
	rules = rs[];
	players = ps[];
	
	currentOya = 0;
	
	
	
	
	
	point_p0 = ; // default points
	point_p1 = ;
	point_p2 = ;
	point_p3 = ;
	
}


// =========================================


game *game::getGameInstance() {
	if (gameInstance == NULL) {
		gameInstance = new game();
	}
	
	return gameInstance;
}

dice *dice::getDiceInstance() 